package com.atguigu.eduservice.client;

import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @create: 2022/10/14
 * @Description:
 * @FileName: OrderClient
 * @自定义内容：
 */
@FeignClient("service-order")
public interface OrderClient {

    @GetMapping("/eduorder/order/getStatusByCourseId/{courseId}/{memberId}")
    public Boolean getStatusByCourseId(@PathVariable("courseId") String courseId,
                                       @PathVariable("memberId") String memberId);

}
